"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var People = /** @class */ (function () {
    function People(name) {
        this.name = name;
    }
    People.prototype.say = function () {
        console.log("hello my name is " + this.name);
    };
    People.jump = function () {
        console.log("static jump");
        People.height = 5;
        console.log(People.height);
    };
    return People;
}());
var Student = /** @class */ (function (_super) {
    __extends(Student, _super);
    function Student(name) {
        return _super.call(this, name) || this;
    }
    Student.prototype.fuck = function () {
        console.log("student running");
    };
    Student.prototype.run = function () {
        console.log("student running");
    };
    Student.prototype.power = function () {
        console.log("I man i have power");
    };
    Student.prototype.read = function () {
        console.log("hello I can read my name:" + this.name);
    };
    return Student;
}(People));
var Teacher = /** @class */ (function (_super) {
    __extends(Teacher, _super);
    function Teacher() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Teacher.prototype.run = function () {
        console.log("teacher running");
    };
    return Teacher;
}(People));
var s = new Student("Tom");
var t = new Teacher("Lily");
Student.jump();
s.say();
s.power();
s.read();
s.run();
t.run();
